package dlg.code.state.enums;

public enum OrderStateEnum {
    UNPAID(1, "未支付"),
    PAID(2, "已支付"),
    DELIVERED(3, "已发货"),
    DONE(4, "已完成"),
    DELETED(5, "已删除");

    private int code;
    private String name;

    OrderStateEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
